﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;//

namespace Tank
{
    class GamePanel : Panel
    {
        public GamePanel()
        {
            /* 使用双缓冲 */
            SetStyle(ControlStyles.OptimizedDoubleBuffer 
                | ControlStyles.ResizeRedraw 
                | ControlStyles.AllPaintingInWmPaint, true);
        }
    }
}
